package com.hdl.pojo;

/**
 * @author hedonglin
 * @date 2020/4/21 7:46
 * @description 将mapper.xml文件的内容封装并存储在此类中
 */
public class MappedStatement {
    // id标识
    private String id;
    // 返回值类型
    private String resultType;
    // 参数类型
    private String parameterType;
    // sql语句
    private String sql;
    // 语句类型，是select/insert/update/delete
    private SqlType sqlType;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getParameterType() {
        return parameterType;
    }

    public void setParameterType(String parameterType) {
        this.parameterType = parameterType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public SqlType getSqlType() {
        return sqlType;
    }

    public void setSqlType(SqlType sqlType) {
        this.sqlType = sqlType;
    }
}
